module.exports = {
    prefix: '/authorize/',
    get: {
        'callback': {
            des: {
                name: 'wechatAuthorizeNotify',
                content: '微信授权登陆回调Oauth2'
            },
            method: function*() {
                var self = this;
                var query = self.request.query;
                console.log('wxquery', query)
                cb_url = encodeURIComponent('http://dev.dotnar.com:2222');
                console.log("重定向URL：", cb_url)
                self.status = 302;
                self.headers['Location'] = cb_url;
            }
        }
    }
}